home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 230 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: news-m01.ny.us.ibm.net!usenet
  2. From: fheitka@ibm.net (Frederick V. Heitkamp)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Compiling X Programs Under Amiga Linux?
  5. Date: 24 Jan 1996 11:12:51 GMT
  6. Organization: Home Site
  7. Message-ID: <4e547j$1jsk@news-s01.ny.us.ibm.net>
  8. References: <4dvqi0$4r2i@news-s01.ny.us.ibm.net> <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE>
  9. NNTP-Posting-Host: slip37-208-82.ibm.net
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=US-ASCII
  12. Keywords: X, libraries, Amiga, Linux
  13. X-Newsreader: WinVN 0.99.6
  14.  
  15. In article <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE>, 
  16. Frank.Neumann@Informatik.Uni-Oldenburg.DE says...
  17. >
  18. >Hi,
  19. >heitkamp@ibm.net (Frederick V. Heitkamp) writes:
  20. >
  21. >>I tried to compile a couple of short demo programs for X under
  22. >>Amiga Linux.  I appears that I have no libX11.a, LibXt.a etc..
  23. >
  24. >Are you sure you really need the static (.a) libraries? All X11R6
  25. >distributions so far only come with shared libraries (at least for the
  26.  
  27. OK.  Let me tell you the whole story.  I have the X shared libraries
  28. in /usr/X11R6/lib.  When I try to compile the demo X program using,
  29. "gcc -o Xdemo Xdemo.c -L/usr/X11R6/lib -I/usr/X11R6/include -lX11"
  30. I get an error message saying it can't find libX11, even though the
  31. shared (sa) library is there.  I thought I read some where that you need
  32. the lib*.a, lib*.sa, and lib*so, so I thought the lib*.a file being
  33. missing might cause the problem.  I guess for ELF, one of those library
  34. types is not needed.  I thought it was the lib*.sa.  At least, 
  35. this is the way my Linux PC is set up.
  36.  
  37. Is someone compiling X programs on the Amiga using gcc 2.7.2 and the 
  38. current X ELF distribution?  I suppose something else could be wrong.
  39.  
  40. Fred Heitkamp
  41.  
  42.  
  43.